package com.ruoyi.basic.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.mybatisplus.core.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 员工任免表对象 basic_appoint
 * 
 * @author ruoyi
 * @date 2021-12-07
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("basic_appoint")
public class BasicAppoint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片id */
    @TableId(type = IdType.AUTO)
    private Long appointId;

    /** 用户id */
    private Long userId;

    @TableField(exist = false)
    private String userNo;

    @TableField(exist = false)
    @Excel(name = "员工姓名")
    private String userName;

    @TableField(exist = false)
    @Excel(name = "身份证号")
    private String idCard;

    @TableField(exist = false)
    private Long deptId;

    /** 现行政级别 */
    @Excel(name = "职务级别", dictType = "basic_duty_level", comboDict = "basic_duty_level")
    private String dutyLevel;

    /** 文件路径 */
    private String docFile;

    /** 删除标志 */
    @TableLogic
    private String delFlag;

    @TableField(exist = false)
    private String userType;
}
